<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>管理员首页</title>
</head>
<body>
<h1>当前登录用户: <span th:text="${username}"></span></h1><a href="/logout">注销</a>
<h3>角色权限:</h3>
<p th:each="auth : ${auths}"> <span th:text="${auth.getAuthority()}"></span></p>
管理员首页... <br />
<a href="/admin/add">add</a> <br>
<a href="/admin/delete">delete</a> <br>
<a href="/admin/update">update</a> <br>
<a href="/admin/select">select</a> <br>
</body>
</html>